/**
 * @Copyright:Copyright (c) 1992 - 2015
 * @Company: TengTong
 */

package com.tengtong.duang.action.config;

import com.tengtong.duang.beans.core.BeanInfo;

/**
 * 记录 Action 的配置信息
 * 
 * @author mling
 *
 */
public class ActionConfig {

	/**
	 * Bean 本身的描述信息
	 */
	private BeanInfo bean;
	
	/**
	 * 请求路径
	 */
	private String requestPath;

	/**
	 * @return the bean
	 */
	public BeanInfo getBean() {
		return bean;
	}

	/**
	 * @param bean the bean to set
	 */
	public void setBean(BeanInfo bean) {
		this.bean = bean;
	}

	/**
	 * @return the requestPath
	 */
	public String getRequestPath() {
		return requestPath;
	}

	/**
	 * @param requestPath the requestPath to set
	 */
	public void setRequestPath(String requestPath) {
		this.requestPath = requestPath;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("ActionConfig [bean=");
		builder.append(bean);
		builder.append(", requestPath=");
		builder.append(requestPath);
		builder.append("]");
		return builder.toString();
	}

	
}
